import { axios } from '@/utils/request'
export const GetLanguageType = (params, saas) => {
  return axios({
    url: 'onlcode/languageConfig/queryLanguageType',
    method: 'get',
    params,
    headers: {
      saas
    }
  })
}
export const GetLanguageInfoList = (params, saas) => {
  return axios({
    url: 'onlcode/languageConfig/queryByPage',
    method: 'post',
    params,
    data: params,
    headers: {
      saas
    }
  })
}
export const AddLanguageInfo = (params, saas) => {
  return axios({
    url: 'onlcode/languageConfig/saveOrUpdate',
    method: 'post',
    data: params,
    headers: {
      saas
    }
  })
}
export const DeleteLanguageInfo = (params, saas) => {
  return axios({
    url: 'onlcode/languageConfig/delete',
    method: 'get',
    params,
    headers: {
      saas
    }
  })
}
export const QueryLanguageJson = (params, saas) => {
  return axios({
    url: 'onlcode/languageConfig/queryLanguageJson',
    method: 'get',
    params,
    headers: {
      saas
    }
  })
}

export default {}